package fr.labri.buganalyzer.extractors;

import java.util.Set;

import fr.labri.buganalyzer.model.Attachement;
import fr.labri.buganalyzer.model.Change;
import fr.labri.buganalyzer.model.Comment;
import fr.labri.buganalyzer.model.Developer;
import fr.labri.buganalyzer.model.Issue;
import fr.labri.buganalyzer.model.Tracker;



public abstract class AbstractExtractor {

	protected int timeout;
	protected Set<Issue> issues;
	protected Tracker tracker;
	protected Set<Developer> developers;
	protected Set<Comment> comments;
	protected Set<Attachement> attachements;
	protected Set<Change> changes;
	
	public AbstractExtractor(){}
	
	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public Set<Issue> getIssues() {
		return issues;
	}

	public Tracker getTracker() {
		return tracker;
	}

	public Set<Developer> getDevelopers() {
		return developers;
	}

	public Set<Comment> getComments() {
		return comments;
	}

	public Set<Attachement> getAttachements() {
		return attachements;
	}

	public Set<Change> getChanges() {
		return changes;
	}

	public void setIssues(Set<Issue> issues) {
		this.issues = issues;
	}

	public void setTracker(Tracker tracker) {
		this.tracker = tracker;
	}

	public void setDevelopers(Set<Developer> developers) {
		this.developers = developers;
	}

	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}

	public void setAttachements(Set<Attachement> attachements) {
		this.attachements = attachements;
	}

	public void setChanges(Set<Change> changes) {
		this.changes = changes;
	}
}
